# -*- encoding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 5
_modified_time = 1278940351.927027
_template_filename=u'/pas/python/web/pylons/blog/blog/templates/base.mako'
_template_uri=u'/debug/../base.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
from webhelpers.html import escape
_exports = ['footer']


def render_body(context,**pageargs):
    context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        h = context.get('h', UNDEFINED)
        self = context.get('self', UNDEFINED)
        local = context.get('local', UNDEFINED)
        next = context.get('next', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 9
        __M_writer(u'\n<html>\n    <head>\n        <title> Blogging - ')
        # SOURCE LINE 12
        __M_writer(escape(self.title()))
        __M_writer(u' </title>\n        ')
        # SOURCE LINE 13
        __M_writer(escape(h.javascript_link('/jquery.js')))
        __M_writer(u'\n        ')
        # SOURCE LINE 14
        __M_writer(escape(h.stylesheet_link('/main.css')))
        __M_writer(u'\n        ')
        # SOURCE LINE 15
        __M_writer(escape(next.js()))
        __M_writer(u'\n    </head>\n    <body>\n        ')
        # SOURCE LINE 18
        __M_writer(escape(next.header()))
        __M_writer(u'\n        ')
        # SOURCE LINE 19
        __M_writer(escape(next.body()))
        __M_writer(u'\n        ')
        # SOURCE LINE 20
        __M_writer(escape(local.footer()))
        __M_writer(u'\n    </body>\n</html>\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_footer(context):
    context.caller_stack._push_frame()
    try:
        next = context.get('next', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 1
        __M_writer(u'\n    ')
        # SOURCE LINE 2
        __M_writer(escape(next.footer()))
        __M_writer(u"\n    <center>\n        Powered by : Frame - pylons , dbtoolkit - SqlAlchemy , Javascrip Lib - Jquery<br>\n        Wrriten by : Vic - victorlee129@gmail.com - victorlee129@googlewave.com<br>\n        Special Thanks : Google for google app engine, smallfish - smallfishxy@gmail.com for lots of help<br>\n        Blogging - Vic's secrect blog system - Thanks for your visiting\n    </center>\n")
        return ''
    finally:
        context.caller_stack._pop_frame()


